<div align="right" valign="middle" style="padding:2px;">
  <form action="/project/search" method="post" style="padding:0px; margin:0px; display: inline;">
    Secret: <input type="text" name="search" style="width:200px"/> <input type="submit" value="search"/> &nbsp;&nbsp;&nbsp;&nbsp;
  </form>
  <form action="/project/gen_blank" method="post" style="padding:0px; margin:0px; display: inline;">
    <input type="submit" value="Create New Project"/>
  </form>
  <%if session[:selected_project_id]%>
  <form action="/project/save_as" method="post" style="padding:0px; margin:0px; display: inline;">
    <input type="submit" value="Save As New Project"/>
  </form>
  <%end%>
</div>
<%if @tab=='list'%>
<= Select Your Project
<%else%>
<div id="tabheader">
  <ul>
    <li<%if @tab=='general'%> id="current"<%end%>><a href="/project/general_page">General</a></li>
    <li<%if @tab=='data'%> id="current"<%end%>><a href="/project/data_page">Data</a></li>
    <!--li<%if @tab=='model'%> id="current"<%end%>><a href="/project/model_page">Model & Test</a></li-->
    <li<%if @tab=='result'%> id="current"<%end%>><a href="/project/result_page">Run</a></li>
    <li<%if @tab=='paper'%> id="current"<%end%>><a href="/project/paper_page">Paper</a></li>
  </ul>
</div>
<%end%>
<br/><br/>